<?php

namespace Blog\PostBundle\Entity;

/**
* @orm:Entity
* @orm:Table(name="labo")
*/
class Labo {
    /**
     *
     * @orm:ID
     * @orm:Column(type="integer")
     * @orm:GeneratedValue(strategy="AUTO")
     */
    protected  $id_labo;

    /**
     *
     * @orm:Column(type="string", length="50")
     */
    protected $nom_labo;

    /**
     *
     * @orm:Column(type="string", length="100")
     */
    protected $adresse;

    /**
     * @orm:OneToMany(targetEntity="Post", mappedBy="labo")
     */
    protected $posts;

    /**
     * @orm:OneToMany(targetEntity="Blog\AccBundle\Entity\Membre", mappedBy="labo")
     */
    protected $membres = null;

    /**
     * @orm:OneToMany(targetEntity="Categorie", mappedBy="labo")
     */
    protected $categories;

    /**
     * @orm:OneToMany(targetEntity="Forum\ForumBundle\Entity\CategorieTopic", mappedBy="labo")
     */
    protected $categories_topic;

    /**
     * @orm:OneToMany(targetEntity="Blog\AccBundle\Entity\Podcast_lien", mappedBy="labo")
     */
    protected $podcast_liens;


    function __construct(){
        $this->posts = new \Doctrine\Common\Collections\ArrayCollection();
        $this->membres = new \Doctrine\Common\Collections\ArrayCollection();
        $this->categories = new \Doctrine\Common\Collections\ArrayCollection();
        $this->categories_topic = new \Doctrine\Common\Collections\ArrayCollection();
        $this->podcast_liens = new \Doctrine\Common\Collections\ArrayCollection();

    }

    public function getId_labo() {
        return $this->id_labo;
    }

    public function getNom_labo() {
        return $this->nom_labo;
    }

    public function setNom_labo($nom_labo) {
        $this->nom_labo = $nom_labo;
    }

    public function getAdresse() {
        return $this->adresse;
    }

    public function setAdresse($adresse) {
        $this->adresse = $adresse;
    }


    public function getPosts() {
        return $this->posts;
    }

    public function setPosts($posts) {
        $this->posts = $posts;
    }

    public function getMembres() {
        return $this->membres;
    }

    public function setMembres($membres) {
        $this->membres = $membres;
    }

    public function getCategories() {
        return $this->categories;
    }

    public function setCategories($categories) {
        $this->categories = $categories;
    }

    public function getPodcast_liens() {
        return $this->podcast_liens;
    }

    public function setPodcast_liens($podcast_liens) {
        $this->podcast_liens = $podcast_liens;
    }


}

?>
